export function scrollTo(element, to) {
  let difference = to - element.scrollTop;
  element.scrollTop = element.scrollTop + difference;
}